"use strict";
const common_vendor = require("../../../../common/vendor.js");
const _sfc_main = {
  data() {
    return {
      // 定义单选框选项数据
      options: [
        { name: "relative", value: "relative" },
        { name: "flex", value: "flex" },
        { name: "fixed", value: "fixed" },
        { name: "absolute", value: "absolute" }
      ]
    };
  },
  methods: {
    radioChange(e) {
      console.log("选择项发生改变:", e.detail.value);
    },
    startAnswering() {
      console.log("开始答题");
    }
  }
};
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
  return {
    a: common_vendor.f($data.options, (item, index, i0) => {
      return {
        a: item.value,
        b: common_vendor.t(item.name),
        c: index
      };
    }),
    b: common_vendor.o((...args) => $options.radioChange && $options.radioChange(...args)),
    c: common_vendor.o((...args) => $options.startAnswering && $options.startAnswering(...args))
  };
}
const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-a0090813"]]);
wx.createPage(MiniProgramPage);
